package org.kwin.ibatis.session;

import java.lang.reflect.Method;

/**
 * @author : wangkai
 * @version V1.0
 * @Package org.kwin.ibatis.session
 * @Description:
 * @date 2021年10月09日 14:52
 **/
public class test {
    public static void main(String[] args) {
        Method[] methods = BMa.class.getDeclaredMethods();
        System.out.println(BMa.class.getInterfaces()[0] == BaseMapper.class);
        
        for (Method method : methods) {
            System.out.println(method.getName());
        }
    
        System.out.println("----------");
        methods = BMa.class.getInterfaces()[0].getDeclaredMethods();
    
        for (Method method : methods) {
            System.out.println(method.getName());
        }
    }
}
